Skip to content

Conversation

RockyMM
Copy link

@RockyMM RockyMM commented Feb 22, 2022

Having HttpResponseMessage supporting generics would benefit developers in many ways:

  • The type-safety could be enforced
  • Simpler mocking in tests
  • Ability to reflect on functions' signatures, so to discern true object types in the responses
    • This could allow the generation of documentation with the proper data types in the responses - e.g. OpenAPI documentation could be generated by using reflection

@ghost
Copy link

ghost commented Feb 22, 2022

CLA assistant check
All CLA requirements met.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant